<!DOCTYPE html>

<html>
<head>
    <meta charset="utf-8">
    <title>Index</title>
    <script src="../static/js/jquery.min.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function GetFile() {
            $("#chooseMusic").click();
        }
        function uploadMusic(){
            alert($("#chooseMusic").val());
        }
    </script>
    <style type="text/css">
        #chooseMusic1{ display:none;}
    </style>
</head>
<body>
<form>
    <input type="button" id="btn" value="上传文件btn" onclick="GetFile();" />
    <input type="file" value="点击上传" id="chooseMusic">
    <input type="button" id="uploadBtn" value="点击上传" onclick="uploadMusic();" />
</form>
</body>
</html>